<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>6_元素溢出</title>
    <style>
        div{
            border: 10px solid #00f;
            width: 400px;
            height: 400px;
            background-color: #e8e8e8;
            /*溢出可见*/
            overflow:visible;
            /*溢出隐藏 多余的直接截掉*/
            overflow: hidden;
            /*显示拖拽条*/
            overflow: scroll;
            /*哪个方向溢出自动显示拖拽条*/
            overflow: auto;
        }
        img{
            width: 200px;
            /*基线对齐 默认值*/
            vertical-align: baseline;
            /*底线对齐*/
            vertical-align: bottom;
            /*中线对齐*/
            vertical-align: middle;
            /*顶部对齐*/
            vertical-align: top;

        }
    </style>
</head>
<body>
<div>
    abyj<img src="img/1.png">国圈<img src="img/1.png">
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
    <img src="img/1.png" >
</div>

</body>
</html>